package com.qf.service;

import com.qf.entity.Card2;

import java.util.List;

public interface Card2Service {
    boolean add(Card2 card2);

    List<Card2> findAllCard2(Integer uid);

    boolean bingding(String id1,String id2);

    List<Card2> findByUid(String uid);

    Boolean editBalanceByID(double num, String id);

    boolean yanzheng(String id2, String name, String id1, String phone, String password);

    boolean tixian(String id2, double money);

    boolean jianqian(String id2, double money);

    Card2 findCard2ById(String id1);

    boolean huodechongzhi(String id2, double money);

    Card2 yanzheng(String id2, String name);

    boolean jiaqian(String id2, double money);
}
